Optimal. Leaf size=260 \[ -\frac{1}{2} b d^{3/2} n \text{PolyLog}\left (2,1-\frac{2 \sqrt{d}}{\sqrt{d}-\sqrt{d+e x^2}}\right )+\frac{1}{3} \left (-3 d^{3/2} \tanh ^{-1}\left (\frac{\sqrt{d+e x^2}}{\sqrt{d}}\right )+3 d \sqrt{d+e x^2}+\left (d+e x^2\right )^{3/2}\right ) \left (a+b \log \left (c x^n\right )\right )+\frac{1}{2} b d^{3/2} n \tanh ^{-1}\left (\frac{\sqrt{d+e x^2}}{\sqrt{d}}\right )^2+\frac{4}{3} b d^{3/2} n \tanh ^{-1}\left (\frac{\sqrt{d+e x^2}}{\sqrt{d}}\right )-b d^{3/2} n \log \left (\frac{2 \sqrt{d}}{\sqrt{d}-\sqrt{d+e x^2}}\right ) \tanh ^{-1}\left (\frac{\sqrt{d+e x^2}}{\sqrt{d}}\right )-\frac{1}{9} b n \left (d+e x^2\right )^{3/2}-\frac{4}{3} b d n \sqrt{d+e x^2} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.392062, antiderivative size = 260, normalized size of antiderivative = 1., number of steps used = 17, number of rules used = 9, integrand size = 25, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.36, Rules used = {266, 50, 63, 208, 2348, 5984, 5918, 2402, 2315} \[ -\frac{1}{2} b d^{3/2} n \text{PolyLog}\left (2,1-\frac{2 \sqrt{d}}{\sqrt{d}-\sqrt{d+e x^2}}\right )+\frac{1}{3} \left (-3 d^{3/2} \tanh ^{-1}\left (\frac{\sqrt{d+e x^2}}{\sqrt{d}}\right )+3 d \sqrt{d+e x^2}+\left (d+e x^2\right )^{3/2}\right ) \left (a+b \log \left (c x^n\right )\right )+\frac{1}{2} b d^{3/2} n \tanh ^{-1}\left (\frac{\sqrt{d+e x^2}}{\sqrt{d}}\right )^2+\frac{4}{3} b d^{3/2} n \tanh ^{-1}\left (\frac{\sqrt{d+e x^2}}{\sqrt{d}}\right )-b d^{3/2} n \log \left (\frac{2 \sqrt{d}}{\sqrt{d}-\sqrt{d+e x^2}}\right ) \tanh ^{-1}\left (\frac{\sqrt{d+e x^2}}{\sqrt{d}}\right )-\frac{1}{9} b n \left (d+e x^2\right )^{3/2}-\frac{4}{3} b d n \sqrt{d+e x^2} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 266
Rule 50
Rule 63
Rule 208
Rule 2348
Rule 5984
Rule 5918
Rule 2402
Rule 2315
Rubi steps
\begin{align*} \int \frac{\left (d+e x^2\right )^{3/2} \left (a+b \log \left (c x^n\right )\right )}{x} \, dx &=\frac{1}{3} \left (3 d \sqrt{d+e x^2}+\left (d+e x^2\right )^{3/2}-3 d^{3/2} \tanh ^{-1}\left (\frac{\sqrt{d+e x^2}}{\sqrt{d}}\right )\right ) \left (a+b \log \left (c x^n\right )\right )-(b n) \int \left (\frac{d \sqrt{d+e x^2}}{x}+\frac{\left (d+e x^2\right )^{3/2}}{3 x}-\frac{d^{3/2} \tanh ^{-1}\left (\frac{\sqrt{d+e x^2}}{\sqrt{d}}\right )}{x}\right ) \, dx\\ &=\frac{1}{3} \left (3 d \sqrt{d+e x^2}+\left (d+e x^2\right )^{3/2}-3 d^{3/2} \tanh ^{-1}\left (\frac{\sqrt{d+e x^2}}{\sqrt{d}}\right )\right ) \left (a+b \log \left (c x^n\right )\right )-\frac{1}{3} (b n) \int \frac{\left (d+e x^2\right )^{3/2}}{x} \, dx-(b d n) \int \frac{\sqrt{d+e x^2}}{x} \, dx+\left (b d^{3/2} n\right ) \int \frac{\tanh ^{-1}\left (\frac{\sqrt{d+e x^2}}{\sqrt{d}}\right )}{x} \, dx\\ &=\frac{1}{3} \left (3 d \sqrt{d+e x^2}+\left (d+e x^2\right )^{3/2}-3 d^{3/2} \tanh ^{-1}\left (\frac{\sqrt{d+e x^2}}{\sqrt{d}}\right )\right ) \left (a+b \log \left (c x^n\right )\right )-\frac{1}{6} (b n) \operatorname{Subst}\left (\int \frac{(d+e x)^{3/2}}{x} \, dx,x,x^2\right )-\frac{1}{2} (b d n) \operatorname{Subst}\left (\int \frac{\sqrt{d+e x}}{x} \, dx,x,x^2\right )+\frac{1}{2} \left (b d^{3/2} n\right ) \operatorname{Subst}\left (\int \frac{\tanh ^{-1}\left (\frac{\sqrt{d+e x}}{\sqrt{d}}\right )}{x} \, dx,x,x^2\right )\\ &=-b d n \sqrt{d+e x^2}-\frac{1}{9} b n \left (d+e x^2\right )^{3/2}+\frac{1}{3} \left (3 d \sqrt{d+e x^2}+\left (d+e x^2\right )^{3/2}-3 d^{3/2} \tanh ^{-1}\left (\frac{\sqrt{d+e x^2}}{\sqrt{d}}\right )\right ) \left (a+b \log \left (c x^n\right )\right )-\frac{1}{6} (b d n) \operatorname{Subst}\left (\int \frac{\sqrt{d+e x}}{x} \, dx,x,x^2\right )+\left (b d^{3/2} n\right ) \operatorname{Subst}\left (\int \frac{x \tanh ^{-1}\left (\frac{x}{\sqrt{d}}\right )}{-d+x^2} \, dx,x,\sqrt{d+e x^2}\right )-\frac{1}{2} \left (b d^2 n\right ) \operatorname{Subst}\left (\int \frac{1}{x \sqrt{d+e x}} \, dx,x,x^2\right )\\ &=-\frac{4}{3} b d n \sqrt{d+e x^2}-\frac{1}{9} b n \left (d+e x^2\right )^{3/2}+\frac{1}{2} b d^{3/2} n \tanh ^{-1}\left (\frac{\sqrt{d+e x^2}}{\sqrt{d}}\right )^2+\frac{1}{3} \left (3 d \sqrt{d+e x^2}+\left (d+e x^2\right )^{3/2}-3 d^{3/2} \tanh ^{-1}\left (\frac{\sqrt{d+e x^2}}{\sqrt{d}}\right )\right ) \left (a+b \log \left (c x^n\right )\right )-(b d n) \operatorname{Subst}\left (\int \frac{\tanh ^{-1}\left (\frac{x}{\sqrt{d}}\right )}{1-\frac{x}{\sqrt{d}}} \, dx,x,\sqrt{d+e x^2}\right )-\frac{1}{6} \left (b d^2 n\right ) \operatorname{Subst}\left (\int \frac{1}{x \sqrt{d+e x}} \, dx,x,x^2\right )-\frac{\left (b d^2 n\right ) \operatorname{Subst}\left (\int \frac{1}{-\frac{d}{e}+\frac{x^2}{e}} \, dx,x,\sqrt{d+e x^2}\right )}{e}\\ &=-\frac{4}{3} b d n \sqrt{d+e x^2}-\frac{1}{9} b n \left (d+e x^2\right )^{3/2}+b d^{3/2} n \tanh ^{-1}\left (\frac{\sqrt{d+e x^2}}{\sqrt{d}}\right )+\frac{1}{2} b d^{3/2} n \tanh ^{-1}\left (\frac{\sqrt{d+e x^2}}{\sqrt{d}}\right )^2+\frac{1}{3} \left (3 d \sqrt{d+e x^2}+\left (d+e x^2\right )^{3/2}-3 d^{3/2} \tanh ^{-1}\left (\frac{\sqrt{d+e x^2}}{\sqrt{d}}\right )\right ) \left (a+b \log \left (c x^n\right )\right )-b d^{3/2} n \tanh ^{-1}\left (\frac{\sqrt{d+e x^2}}{\sqrt{d}}\right ) \log \left (\frac{2 \sqrt{d}}{\sqrt{d}-\sqrt{d+e x^2}}\right )+(b d n) \operatorname{Subst}\left (\int \frac{\log \left (\frac{2}{1-\frac{x}{\sqrt{d}}}\right )}{1-\frac{x^2}{d}} \, dx,x,\sqrt{d+e x^2}\right )-\frac{\left (b d^2 n\right ) \operatorname{Subst}\left (\int \frac{1}{-\frac{d}{e}+\frac{x^2}{e}} \, dx,x,\sqrt{d+e x^2}\right )}{3 e}\\ &=-\frac{4}{3} b d n \sqrt{d+e x^2}-\frac{1}{9} b n \left (d+e x^2\right )^{3/2}+\frac{4}{3} b d^{3/2} n \tanh ^{-1}\left (\frac{\sqrt{d+e x^2}}{\sqrt{d}}\right )+\frac{1}{2} b d^{3/2} n \tanh ^{-1}\left (\frac{\sqrt{d+e x^2}}{\sqrt{d}}\right )^2+\frac{1}{3} \left (3 d \sqrt{d+e x^2}+\left (d+e x^2\right )^{3/2}-3 d^{3/2} \tanh ^{-1}\left (\frac{\sqrt{d+e x^2}}{\sqrt{d}}\right )\right ) \left (a+b \log \left (c x^n\right )\right )-b d^{3/2} n \tanh ^{-1}\left (\frac{\sqrt{d+e x^2}}{\sqrt{d}}\right ) \log \left (\frac{2 \sqrt{d}}{\sqrt{d}-\sqrt{d+e x^2}}\right )-\left (b d^{3/2} n\right ) \operatorname{Subst}\left (\int \frac{\log (2 x)}{1-2 x} \, dx,x,\frac{1}{1-\frac{\sqrt{d+e x^2}}{\sqrt{d}}}\right )\\ &=-\frac{4}{3} b d n \sqrt{d+e x^2}-\frac{1}{9} b n \left (d+e x^2\right )^{3/2}+\frac{4}{3} b d^{3/2} n \tanh ^{-1}\left (\frac{\sqrt{d+e x^2}}{\sqrt{d}}\right )+\frac{1}{2} b d^{3/2} n \tanh ^{-1}\left (\frac{\sqrt{d+e x^2}}{\sqrt{d}}\right )^2+\frac{1}{3} \left (3 d \sqrt{d+e x^2}+\left (d+e x^2\right )^{3/2}-3 d^{3/2} \tanh ^{-1}\left (\frac{\sqrt{d+e x^2}}{\sqrt{d}}\right )\right ) \left (a+b \log \left (c x^n\right )\right )-b d^{3/2} n \tanh ^{-1}\left (\frac{\sqrt{d+e x^2}}{\sqrt{d}}\right ) \log \left (\frac{2 \sqrt{d}}{\sqrt{d}-\sqrt{d+e x^2}}\right )-\frac{1}{2} b d^{3/2} n \text{Li}_2\left (1-\frac{2}{1-\frac{\sqrt{d+e x^2}}{\sqrt{d}}}\right )\\ \end{align*}
Mathematica [C] time = 0.767813, size = 301, normalized size = 1.16 \[ \frac{b e n x^2 \sqrt{d+e x^2} \left (\frac{d \log (x) \left (\left (\frac{e x^2}{d}+1\right )^{3/2}-1\right )}{3 e x^2}-\frac{1}{4} \, _3F_2\left (-\frac{1}{2},1,1;2,2;-\frac{e x^2}{d}\right )\right )}{\sqrt{\frac{e x^2}{d}+1}}+\frac{b d n \sqrt{d+e x^2} \left (-\, _3F_2\left (-\frac{1}{2},-\frac{1}{2},-\frac{1}{2};\frac{1}{2},\frac{1}{2};-\frac{d}{e x^2}\right )+\log (x) \sqrt{\frac{d}{e x^2}+1}-\frac{\sqrt{d} \log (x) \sinh ^{-1}\left (\frac{\sqrt{d}}{\sqrt{e} x}\right )}{\sqrt{e} x}\right )}{\sqrt{\frac{d}{e x^2}+1}}-d^{3/2} \log \left (\sqrt{d} \sqrt{d+e x^2}+d\right ) \left (a+b \log \left (c x^n\right )-b n \log (x)\right )+d^{3/2} \log (x) \left (a+b \log \left (c x^n\right )-b n \log (x)\right )+\frac{1}{3} \sqrt{d+e x^2} \left (4 d+e x^2\right ) \left (a+b \log \left (c x^n\right )-b n \log (x)\right ) \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F] time = 0.406, size = 0, normalized size = 0. \begin{align*} \int{\frac{a+b\ln \left ( c{x}^{n} \right ) }{x} \left ( e{x}^{2}+d \right ) ^{{\frac{3}{2}}}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F(-2)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Exception raised: ValueError} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F] time = 0., size = 0, normalized size = 0. \begin{align*}{\rm integral}\left (\frac{{\left (b e x^{2} + b d\right )} \sqrt{e x^{2} + d} \log \left (c x^{n}\right ) +{\left (a e x^{2} + a d\right )} \sqrt{e x^{2} + d}}{x}, x\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{\left (a + b \log{\left (c x^{n} \right )}\right ) \left (d + e x^{2}\right )^{\frac{3}{2}}}{x}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{{\left (e x^{2} + d\right )}^{\frac{3}{2}}{\left (b \log \left (c x^{n}\right ) + a\right )}}{x}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]